package com.xd.oauth.controller;


import com.xd.auth.api.entity.OauthApprovals;
import com.xd.auth.api.feign.OauthApprovalsClient;
import com.xd.oauth.service.OauthApprovalsService;
import com.xd.common.base.BaseController;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * 授权范围(OauthApprovals)表控制层
 *
 * @author hbx
 * @since 2020-10-24 15:47:20
 */
@RestController
@RequestMapping("oauthApprovals")
@Transactional(rollbackFor = Exception.class)
public class OauthApprovalsController extends BaseController<OauthApprovalsService, OauthApprovals,String> implements OauthApprovalsClient {

    @Resource
    private OauthApprovalsService OauthApprovalsService;

}
